<script setup lang="ts">
import { onLaunch, onShow, onHide, onShareAppMessage } from '@dcloudio/uni-app'
onLaunch((options) => {
  // console.log('App Launch')
})
onShow(() => {
  // console.log('App Show')
})
onHide(() => {
  // console.log('App Hide')
})
onShareAppMessage(() => {
  return {
    title: '全局分享标题', // 分享的标题
    path: '/pages/home/index', // 分享的路径
    imageUrl: 'https://example.com/global-share-image.jpg' // 分享的图片（可选）
  }
});
</script>
<style></style>
